package com.lcy.redistest;

import redis.clients.jedis.Jedis;

/**
 * @author lichenyang
 * @create 2021-04-28 4:14 下午
 */
public class MainTest {

    public static void main(String[] args) {
        Jedis jedis = new Jedis("127.0.0.1", 6379);
        jedis.set("k1", "v1");
        System.out.println(jedis.get("k1"));
        System.out.println(jedis.keys("*"));
    }

}
